

#转换类
class Transform:
    #list中的每个元素从String转换为int
    def list_string_to_int(self,list):
        result_list = []
        for element in list:
            result_list.append((int)(element))
        return result_list

    #list中的每个元素从String转换为float
    def list_string_to_float(self,list):
        result_list = []
        for element in list:
            result_list.append((float)(element))
        return result_list